<template>
    <h2 ref="title2">你好</h2>
    <button @click="showLog">你好</button>
    <Person ref="ren" />
    <Study />
</template>

<script lang="ts" setup name="App">
import Person from './components/Person.vue';
import Study from './components/study.vue';
import { ref } from 'vue';
let title2 = ref()
let ren = ref()
function showLog() {
    console.log(ren.value)
}

</script>
